@import './mixin.scss';
@import './btn.scss';
@import './element-ui.scss';
@import './sidebar.scss';
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
    //  font-weight: 700;
}

html {
    box-sizing: border-box;
}

*,
*:after,
*:before {
    box-sizing: inherit;
}

.no-padding {
    padding: 0 !important;
}

.padding-content {
    padding: 4px 0;
}

a:active,
a:focus {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.pr-5 {
    padding-right: 5px;
}

.pl-5 {
    padding-left: 5px;
}

.block {
    display: block;
}

.pointer {
    cursor: pointer;
}

.inlineBlock {
    display: block;
}

code {
    background: #eef1f6;
    padding: 15px 10px;
    margin-bottom: 20px;
    display: block;
    line-height: 36px;
    a {
        color: #337ab7;
        cursor: pointer;
        &:hover {
            color: rgb(32, 160, 255);
        }
    }
}

.fade-enter-active,
.fade-leave-active {
    transition: all 0.2s ease;
}

.fade-enter,
.fade-leave-active {
    opacity: 0;
}

//main-container全局样式
.app-container {
    padding: 20px;
}

.components-container {
    margin: 30px 50px;
    position: relative;
}

.pagination-container {
    margin-top: 30px;
}

.editor-container .CodeMirror {
    height: 100%!important;
}

.text-center {
    text-align: center;
}

.svg-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

.sub-navbar {
    height: 50px;
    line-height: 50px;
    position: relative;
    width: 100%;
    text-align: right;
    padding-right: 20px;
    transition: 600ms ease position;
    background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
    .subtitle {
        font-size: 20px;
        color: #fff;
    }
    &.draft {
        background: #d0d0d0;
    }
    &.deleted {
        background: #d0d0d0;
    }
}

.link-type,
.link-type:focus {
    color: #337ab7;
    cursor: pointer;
    &:hover {
        color: rgb(32, 160, 255);
    }
}

.deletedTag,
.draftTag,
.publishedTag {
    color: #fff;
    background-color: $panGreen;
    line-height: 1;
    text-align: center;
    margin: 0;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    position: absolute;
    left: 20px;
    top: 10px;
}

.draftTag {
    background-color: $yellow;
}

.deletedTag {
    background-color: $red;
}

.input-label {
    font-size: 14px;
    color: #48576a;
    line-height: 1;
    padding: 11px 5px 11px 0;
}

.clearfix {
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
}

.no-marginLeft {
    .el-checkbox {
        margin: 0 20px 15px 0;
    }
    .el-checkbox+.el-checkbox {
        margin-left: 0;
    }
}

.filter-container {
    padding-bottom: 10px;
    .filter-item {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 10px;
    }
}

//refine vue-multiselect plugin
.multiselect {
    line-height: 16px;
}

.multiselect--active {
    z-index: 1000 !important;
}

//refine simplemde
.simplemde-container {
    .CodeMirror-fullscreen,
    .editor-toolbar.fullscreen {
        z-index: 1003;
    }
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
    transform: none;
    left: 0;
    position: relative;
    margin: 0 auto;
}

//github-corner
.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out;
}

//添加样式开始
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.el-date-editor.el-input,
.el-input {
    width: 180px;
}

.el-input__inner {
    // width: 180px;
    border-radius: 0;
    height: 39px;
}

.el-table th>.cell {
    word-break: keep-all;
}

.filter-container .filter-item {
    margin-bottom: 2px;
}

.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover,
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
    background-color: #1E90FF;
    color: #fff;
}

.el-table th {
    background-color: #fff;
}

.el-table__footer-wrapper thead div,
.el-table__header-wrapper thead div {
    background-color: #fff;
    color: #006AB6;
    font-size: 16px;
}

.el-table__fixed-header-wrapper thead div {
    background-color: #fff;
    color: #006AB6;
    font-size: 16px;
}

.el-table__fixed,
.el-table__fixed-right {
    box-shadow: 1px 0 8px transparent;
}

.el-table__fixed-right::before,
.el-table__fixed::before {
    background-color: #fff;
}

.table-head {
    padding-left: 13px;
    height: 40px;
    font-weight: 700; // background: -webkit-linear-gradient( top,#fff,#E4E4E4,#E4E4E4 );
    font-size: 18px;
    line-height: 40px;
    color: white;
    background-color: #006ab6;
}

.el-table td,
.el-table th.is-leaf {
    border: none;
}

.el-table tr:nth-child(even) {
    background-color: #EEF7FF;
}

.el-table .cell {
    text-align: center;
    word-break: break-word;
}

.el-table--enable-row-transition .el-table__body td {
    padding: 5px 0;
}

.table-border {
    border: 1px solid #999;
}

.el-button+.el-button {
    margin-left: 0;
}

//搜索输入框表头样式
.search {
    overflow: hidden;
    clear: both;
    min-height: 133px;
}

.search-input {
    width: 80%;
    display: inline-block;
}

.search-input>div {
    width: 355px;
    margin-right: 5px;
    display: inline-block;
}

.search-input>div label {
    display: block;
    font-size: 14px;
    float: left;
    line-height: 39px;
    color: #333;
}

.search-input>div .block-ipt {
    float: right;
}

.search-btn {
    display: inline-block;
    position: absolute;
}

.search-btn button:nth-child(2) {
    margin-left: 18px;
}

.btn-clearance {
    display: block;
    margin-top: 5px;
    margin-left: 0;
}

//弹出框样式
.el-message-box {
    width: 365px;
    height: 210px;
}

.el-message-box__header {
    height: 40px;
    padding-top: 0;
    background: -webkit-linear-gradient( top, #006AB6, #00355B);
}

.el-message-box__title {
    height: 100%;
    color: #fff;
    line-height: 40px;
}

.el-message-box__message {
    text-align: center;
    font-size: 16px;
}

.el-message-box__content {
    padding: 40px 0;
}

.el-message-box__btns {
    padding: 0 42px;
}

.el-message-box__btns>.el-button--default {
    float: left;
    width: 115px;
    height: 33px;
    background: -webkit-linear-gradient( top, #2ACBA4, #149A79);
    border: 1px solid #2ACBA4;
    color: #fff;
    padding: 0;
}

.el-message-box__btns>.el-button--primary {
    float: right;
    width: 115px;
    height: 33px;
    background: -webkit-linear-gradient( top, #31A8FD, #006AB6);
    border: 1px solid #31A8FD;
    padding: 0;
}

.el-button--primary:hover,
.el-message-box__btns>.el-button--primary:focus {
    background: -webkit-linear-gradient( top, #31A8FD, #006AB6);
    border-color: #31A8FD !important;
    color: #fff;
}

.el-button:hover,
.el-message-box__btns>.el-button--default:focus {
    background: -webkit-linear-gradient( top, #2ACBA4, #149A79 !important);
    border-color: #2ACBA4;
    color: #fff;
}

//日期选择icon
.el-icon-date {
    display: none;
}

//分页
.el-pagination {
    text-align: center;
    padding: 15px 0;
    position: relative;
}

.el-pagination:before {
    display: block;
    content: '';
    height: 2px;
    background-color: #006AB6;
    width: 80%;
    position: absolute;
    left: 10%;
    top: 0;
}


/*form表单*/

.form-table {
    border-color: #999;
}

.form-table tr td {
    text-align: center;
    vertical-align: middle;
    height: 40px;
    border: 1px solid #999;
}

.form-table tr td input {
    border: none;
    width: 100%;
    height: 100%;
    padding-left: 5px;
}

.form-table tr td input[type="file"] {
    position: relative;
    top: 6px;
}

.btn-box {
    padding: 52px 0 78px;
    text-align: center;
    border: 1px solid #999;
    border-top: none;
}

.btn-box>button {
    margin-left: 90px !important;
}

.btn-box>button:nth-child(1) {
    margin-left: 0;
}

.bj-line {
    height: 22px;
}

.btn-box2 {
    margin-top: 53px;
    text-align: center;
}

.btn-box2>button {
    margin-left: 90px;
}

.btn-box2>button:nth-child(1) {
    margin-left: 0;
}

//上传图片样式
.avatar-uploader-icon {
    width: 100px;
    height: 100px;
    line-height: 100px;
}

//.el-upload > img {
//  width: 100px;
//  height: 100px;
//}
.avatar-uploader-icon:before {
    color: #00B589;
    font-size: 24px;
}

//button鼠标hover时样式
.white-btn:hover {
    color: #333;
    border-color: transparent;
}

.yellow-btn:hover {
    background-color: #fdb44c;
    border-color: #fdb44c;
}

.blue-btn:hover {
    border-color: #1e90ff;
    background-color: #1e90ff;
}

.green-btn:hover {
    border-color: #2dd4ab;
    background-color: #2dd4ab;
}

//鼠标点击按钮之后的样式
.el-button--default {
    color: #fff !important;
}

//店铺tab切换
.el-tabs__item .is-active {
    color: #006ab6 !important;
}

.el-tabs__active-bar {
    background-color: transparent;
}

.el-tabs__header {
    border: none;
}

.el-tabs__item {
    margin-right: 100px;
}

.el-tabs--border-card>.el-tabs__header .el-tabs__item{
    color: #75b2de;
}

//删除图标 
.imgTdUl {
    text-decoration: none;
}

.imgTdUl li {
    display: inline-block;
    margin: 5px;
}

.imgBox {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto;
}

.imgNow {
    height: 100%;
    width: 100%;
}

.delImg {
    height: 14px;
    width: 14px;
    position: absolute;
    right: -7px;
    top: -7px;
    background-color: #DE3838;
    color: white;
    font-weight: 700;
    border: 1px solid #DE3838;
    border-radius: 7px;
    line-height: 14px;
    padding-left: 1px;
    cursor: pointer;
}

//新增店铺照片ul
#shopImgUl {
    text-decoration: none;
    display: inline-block;
}

#shopImgUl li {
    margin: 5px;
    display: inline-block;
    position: relative;
    height: 80px;
    width: 80px;
    list-style: none;
}

#shopImgUl li img {
    height: 100%;
    width: 100%;
}

.shopMetails {
    width: 100px;
    height: 100px;
}

//修改店铺照片ul
#modifyShopUl {
    text-decoration: none;
    display: inline-block;
}

#modifyShopUl li {
    margin: 5px;
    display: inline-block;
    position: relative;
    list-style: none;
}

#modifyShopUl li img {
    height: 80px;
    width: 80px;
}

//新增商户店铺照片
#merImgUl {
    text-decoration: none;
    display: inline-block;
}

#merImgUl li {
    margin: 5px;
    display: inline-block;
    position: relative;
    height: 80px;
    width: 80px;
    list-style: none;
}

#merImgUl li img {
    height: 100%;
    width: 100%;
}

//修改商户照片ul
#modifyMerUl {
    text-decoration: none;
    display: inline-block;
}

#modifyMerUl li {
    margin: 5px;
    display: inline-block;
    position: relative;
    list-style: none;
}

#modifyMerUl li img {
    height: 80px;
    width: 80px;
}

//店铺审核 照片列表 ul
#shopAuditImgList {}

#shopAuditImgList li {
    width: 80px;
    height: 80px;
    display: inline-block;
    list-style: none;
    margin: 5px;
}

#shopAuditImgList li img {
    height: 100%;
    width: 100%;
}

//商户审核 照片列表 ul
#merAuditImgList {
    padding: 0;
}

#merAuditImgList li {
    width: 80px;
    height: 80px;
    display: inline-block;
    list-style: none;
    margin: 5px;
}

#merAuditImgList li img {
    height: 100%;
    width: 100%;
}

.merAuditImg {
    width: 80px;
    height: 80px;
}

//添加样式结束
@keyframes octocat-wave {
    0%,
    100% {
        transform: rotate(0);
    }
    20%,
    60% {
        transform: rotate(-25deg);
    }
    40%,
    80% {
        transform: rotate(10deg);
    }
}

@media (max-width:500px) {
    .github-corner:hover .octo-arm {
        animation: none;
    }
    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out;
    }
}

//.el-button--text{
//  color: #0BE074;
//}
//
//.el-button--text{
//  color: #D81334;
//}
.el-dialog--small {
    width: 30%;
}